﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Ext.Net.Utilities;
using Ext.Net;

namespace MemberMgr.Website
{
    public partial class ICON : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            GetExamplesNodes();
        }

        protected void GetExamplesNodes()
        {
            this.Viewport1.Items.Clear();
            foreach (Icon item in Enum.GetValues(typeof(Icon)))
            {
                Ext.Net.Label lbl = new Ext.Net.Label();
                lbl.Text = item.ToString();

                lbl.Icon = item;

                this.Viewport1.Items.Add(lbl);
            }

        }
    }
}
